mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Improve error message.
This commit is contained in:
parent
16be3acbdf
commit
842a91dbc7
@ -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