mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
fix: Catch failures in image upload
This commit is contained in:
@@ -95,6 +95,9 @@ export class UploadPlugin extends Plugin {
|
||||
],
|
||||
options
|
||||
);
|
||||
})
|
||||
.catch(() => {
|
||||
// Silently handle fetch failures (e.g. CORS, network errors)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user