diff --git a/backend/model/threading/DiskMangerWorker.ts b/backend/model/threading/DiskMangerWorker.ts index 0641fad0..1b199d06 100644 --- a/backend/model/threading/DiskMangerWorker.ts +++ b/backend/model/threading/DiskMangerWorker.ts @@ -116,7 +116,7 @@ export class DiskMangerWorker { return resolve(directory); } catch (err) { - return reject({error: err.toString()}); + return reject({error: err}); } });