Skip to content

Commit

Permalink
fix: displaying error message from server
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 2, 2024
1 parent 13fae7c commit 1240712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
try {
message = JSON.parse(message.data);
if (message.error) {
console.error('Error:', message.error)
if (message.serverOrganization === false)
self.serverOrganization = self.serverStorage = false
else if (message.serverStorage === false)
Expand Down

0 comments on commit 1240712

Please sign in to comment.