Skip to content
Snippets Groups Projects
Commit 4e568894 authored by David Mynors's avatar David Mynors
Browse files

Improve error message

parent bdf17c6a
Branches
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ const ensureAuthenticated = async (req, res, next) => {
);
} catch (err) {
console.log('error redirecting to login:', err);
return res.json("an error ocurred")
return res.json("an error occurred: check wiki config.js contains oauth values")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment