1
0
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:
Patrik J. Braun 2019-04-14 14:30:18 +02:00 committed by GitHub
commit 1bf538f818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ export class DiskMangerWorker {
return resolve(directory);
} catch (err) {
return reject({error: err.toString()});
return reject({error: err});
}
});