SFJS 0.3.7, sync exception event

This commit is contained in:
Mo Bitar
2018-07-23 08:59:44 -05:00
parent e4da258d46
commit 4ffb4c4ae7
3 changed files with 6 additions and 4 deletions

View File

@@ -89,6 +89,8 @@ angular.module('app')
if(syncEvent == "sync-session-invalid") {
alert("Your session has expired. New changes will not be pulled in. Please sign out and sign back in to refresh your session.");
} else if(syncEvent == "sync-exception") {
alert(`There was an error while trying to save your items. Please contact support and share this message: ${data}`);
}
});