Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fixed: Removed useless error catch

Aleix Suau4e3467c8d545
diff --git a/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts b/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts
index 700460c65db..cf2c68d5423 100644
--- a/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts
+++ b/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts
@@ -141,11 +141,6 @@ export class OpenProjectDirectFileUploadService extends OpenProjectFileUploadSer
});
return { url: res._links.addAttachment.href, form: form, response: res };
- })
- .catch((err) => {
- console.log(err);
-
- return new FormData();
});
return result;