mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Merge pull request #63 from bobobo1618/patch-1
Remove .toString() from disk error handling
This commit is contained in:
commit
1bf538f818
@ -116,7 +116,7 @@ export class DiskMangerWorker {
|
|||||||
|
|
||||||
return resolve(directory);
|
return resolve(directory);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return reject({error: err.toString()});
|
return reject({error: err});
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user