Commit 84259b35 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Log exception details if 'list' command fails

parent d24071a5
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment