summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--raptorsmiface/libraptorsmiface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/raptorsmiface/libraptorsmiface.c b/raptorsmiface/libraptorsmiface.c
index 76220dfe..0c172f2e 100644
--- a/raptorsmiface/libraptorsmiface.c
+++ b/raptorsmiface/libraptorsmiface.c
@@ -749,6 +749,7 @@ int raptor_sm_get_new_unique_display(int mindisplay, int maxdisplay) {
if (mysql_query_internal(conn, query)) {
// Server error
free(query);
+ dprint("[ERROR] MySQL connection FAILED [%s]\n\r", mysql_error(conn));
mysql_close(conn);
return -2;
}
@@ -822,4 +823,4 @@ void raptor_sm_terminate_server(char* username) {
system(command_string);
free(command_string);
}
-} \ No newline at end of file
+}