mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-15 19:47: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 (editorMode === 'edition-owner' || editorMode === 'edition-editor') {
|
||||||
|
|
||||||
if (!global.lockSession) {
|
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({
|
persistence = new RESTPersistenceManager({
|
||||||
|
Loading…
Reference in New Issue
Block a user