display error popup if session file return empty
This commit is contained in:
parent
b55cdf5e64
commit
1c98434780
1 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ module.exports = function(settings,fs,ipc,osc,dialog) {
|
|||
error = err
|
||||
}
|
||||
|
||||
if (!session) error= 'No session object returned'
|
||||
|
||||
if (!error) {
|
||||
if (data.path) this.sessionAddToHistory(data.path)
|
||||
ipc.send('sessionOpen',JSON.stringify(session),clientId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue