mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
Add logging for remote script
This commit is contained in:
@@ -2824,7 +2824,8 @@ var ProxyUtils = (function () {
|
||||
|
||||
// if this is remote script, download it
|
||||
try {
|
||||
script = await $downloader.download(url);
|
||||
script = await $downloader.download(url.split("#")[0]);
|
||||
$.info(`Script loaded: >>>\n ${script}`);
|
||||
} catch (err) {
|
||||
$.error(
|
||||
`Error when downloading remote script: ${item.args.content}.\n Reason: ${err}`
|
||||
|
||||
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user