Merge pull request #65 from EnderKingJ/patch-1
better uv logging to fix the customBare error
This commit is contained in:
commit
1f8ee54615
1 changed files with 4 additions and 0 deletions
|
|
@ -205,8 +205,12 @@ getBareLocation().then(bareLocation => {
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
|
console.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