Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 011ae39c authored by Deucе's avatar Deucе 👌🏾

Do not use js.report_error()

Properly throw an error instead.
parent be6e64a8
......@@ -1453,7 +1453,7 @@ function save_file()
var f=new File(output_filename());
if(!f.open("wb")) {
console.clear();
js.report_error(f.error + " (" + errno_str + ") opening " + f.name, true);
throw new Error(f.error + " (" + errno_str + ") opening " + f.name);
return false;
}
var s=make_strings(/* soft-CRs: */Boolean(options.soft_cr), /* embed-colors: */true);
......
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