How can we improve campusM?

Pass errors directly back from connect layer

Currently, if the connect layer encounters an error while retrieving data, it passes back an HTML file with an HTTP 200 status code, as in the example below. It would be helpful if instead it would pass the error back to the client directly, with error messages and HTTP error status codes, as a normal web server would.

<!DOCTYPE html>
<head><meta http-equiv="content-type" content="text/html;charset=utf-8"></head>
<body data-location="/aek/c/dining-menu">
<div class="ombl---ajax-container">
<h2>Oops! Something has gone wrong</h2>
<p class="error last-child">Could not resolve host:</p>


2 votes
Sign in
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Angus Grieve-Smith shared this idea  ·   ·  Admin →


Sign in
Password icon
Signed in as (Sign out)

Feedback and Knowledge Base