🧑‍💻 (dev) logging the error into console

This commit is contained in:
Rafi Arrafif
2025-09-09 19:27:30 +07:00
parent 098e0aac56
commit 0458cc70aa

View File

@ -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",