🧑💻 (dev) logging the error into console
This commit is contained in:
@ -70,7 +70,10 @@ export function returnErrorResponse<T>(
|
|||||||
) {
|
) {
|
||||||
set.status = status;
|
set.status = status;
|
||||||
|
|
||||||
if (errorDetails) captureException(errorDetails);
|
if (errorDetails) {
|
||||||
|
captureException(errorDetails);
|
||||||
|
console.error(errorDetails);
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
status: "error",
|
status: "error",
|
||||||
|
|||||||
Reference in New Issue
Block a user