diff --git a/static/uv/uv.sw.js b/static/uv/uv.sw.js index b0cdc00..7e8f7f9 100644 --- a/static/uv/uv.sw.js +++ b/static/uv/uv.sw.js @@ -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, + } }); }; };