Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
e2004b91
Commit
e2004b91
authored
Jun 08, 2021
by
Rob Swindell
💬
Browse files
Fail with graceful error message if msgbase is not defined.
parent
9f56c0b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
web/root/msgs/msg.ssjs
web/root/msgs/msg.ssjs
+2
-0
No files found.
web/root/msgs/msg.ssjs
View file @
e2004b91
...
...
@@ -17,6 +17,8 @@ if(do_extra) {
do_rightnav
=
false
;
}
if
(
!
msgbase
)
error
(
"
msgbase not defined
"
);
if
(
msgbase
.
open
!=
undefined
&&
msgbase
.
open
()
==
false
)
{
error
(
msgbase
.
last_error
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment