Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 1a42ef1

Browse files
committed
wip
1 parent 09ff07e commit 1a42ef1

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

app/controllers/web/BlogController.cfc

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -517,21 +517,9 @@ component extends="app.Controllers.Controller" {
517517
}
518518

519519
} catch (any e) {
520-
model("Log").log(
521-
category = "wheels.blog",
522-
level = "ERROR",
523-
message = "Blog post not found",
524-
details = {
525-
"error_message": e.message,
526-
"error_detail": e.detail,
527-
"slug": params.slug,
528-
"ip_address": cgi.REMOTE_ADDR
529-
},
530-
userId = GetSignedInUserId()
531-
);
532-
// If an error occurs or blog not found, redirect to blog index
533-
redirectTo(action="index");
534-
return;
520+
// TEMPORARY: show actual error for debugging
521+
writeOutput("<pre>BLOG SHOW ERROR:#chr(10)#Message: #e.message##chr(10)#Detail: #e.detail##chr(10)#</pre>");
522+
abort;
535523
}
536524
}
537525

0 commit comments

Comments
 (0)