diff --git a/packages/libraries/core/src/utils/clipboard/write-on-clipboard.ts b/packages/libraries/core/src/utils/clipboard/write-on-clipboard.ts index eecd2bd079..834ad61c3b 100644 --- a/packages/libraries/core/src/utils/clipboard/write-on-clipboard.ts +++ b/packages/libraries/core/src/utils/clipboard/write-on-clipboard.ts @@ -3,6 +3,6 @@ export function writeOnClipboard(textToWrite: string): Promise { return navigator.clipboard.writeText(textToWrite); } catch (error) { console.error(error); - return Promise.resolve(); + return Promise.reject(error); } } \ No newline at end of file