Commit 5b7c8ea7 authored by nanahira's avatar nanahira

fix

parent 52ef221d
Pipeline #5441 passed with stages
in 28 minutes and 59 seconds
...@@ -126,7 +126,7 @@ export class AppService extends ConsoleLogger { ...@@ -126,7 +126,7 @@ export class AppService extends ConsoleLogger {
await fs.unlink(file.savePath); await fs.unlink(file.savePath);
await fs.unlink(path.join(this.repoPath, file.filename)); await fs.unlink(path.join(this.repoPath, file.filename));
} catch (e) {} } catch (e) {}
file.reject(new ReturnMessageDto(500, 'upload failed')); file.reject(new ReturnMessageDto(500, 'upload failed').toException());
} }
} finally { } finally {
for (const file of files) { for (const file of files) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment