Update uv.sw.js
This commit is contained in:
parent
7f197e3316
commit
439a7b088a
1 changed files with 4 additions and 0 deletions
|
|
@ -205,8 +205,12 @@ getBareLocation().then(bareLocation => {
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
|
console.log('Uncaught Ultraviolet Error: '+err);
|
||||||
return new Response(err.toString(), {
|
return new Response(err.toString(), {
|
||||||
status: 500,
|
status: 500,
|
||||||
|
headers: {
|
||||||
|
'x-uv-error': err,
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue