Update uv.sw.js

This commit is contained in:
Ender 2023-01-23 13:53:10 -05:00 committed by GitHub
parent 7f197e3316
commit 439a7b088a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,8 +205,12 @@ getBareLocation().then(bareLocation => {
});
} catch(err) {
console.log('Uncaught Ultraviolet Error: '+err);
return new Response(err.toString(), {
status: 500,
headers: {
'x-uv-error': err,
}
});
};
};