Skip to content
Snippets Groups Projects
Commit 84259b35 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Log exception details if 'list' command fails

parent d24071a5
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -56,7 +56,8 @@ function list(filename, verbose)
try {
list = Archive(filename).list(Boolean(verbose));
} catch(e) {
alert(file_getname(filename) + ": Unsupported archive format");
log(LOG_NOTICE, filename + " " + e);
alert(file_getname(filename) + ": Unsupported archive");
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment