mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-15 11:37:57 +01:00
Improve error message.
This commit is contained in:
parent
2d1d0a8790
commit
c6dd04b86f
@ -620,7 +620,7 @@ export default class RestClient implements Client {
|
||||
if (editorMode === 'edition-owner' || editorMode === 'edition-editor') {
|
||||
|
||||
if (!global.lockSession) {
|
||||
throw new Error(`Session could not be found: global.lockSession ${global.lockSession} - global.lockTimestamp: ${global.lockTimestamp} - ${global.mindmapLocked} - ${global.mindmapLockedMsg}`)
|
||||
throw new Error(`Session could not be found: global.lockSession: '${global.lockSession}' - global.lockTimestamp: '${global.lockTimestamp}' - ${global.mindmapLocked} - ${global.mindmapLockedMsg}`)
|
||||
}
|
||||
|
||||
persistence = new RESTPersistenceManager({
|
||||
|
Loading…
Reference in New Issue
Block a user