mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Improved error handling for file uploads
This commit is contained in:
parent
0ba28dc891
commit
d38375a08c
2 changed files with 8 additions and 0 deletions
|
@ -46,5 +46,9 @@ self.loadFile = function(file) {
|
|||
seek();
|
||||
};
|
||||
|
||||
reader.onerror = function(e) {
|
||||
self.postMessage({"error": file.error.message});
|
||||
};
|
||||
|
||||
seek();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue