Skip to content

Commit e008f1f

Browse files
committed
Log
1 parent eea7f14 commit e008f1f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

captureserver/public/index.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@
142142
$tmparray = json_decode($contenttoinsert, true, 2);
143143

144144
if ($tmparray['company_idprof1'] != $captureserver->registerprofid) {
145-
dol_syslog('The professional ID is not the same than the one registered or was never registered. Go to the setup page of module BlockedLog to register your instance.', LOG_DEBUG, 0, '_captureserver');
146-
print "\n".'The professional ID is not the same than the one registered or was never registered. Go to the setup page of module BlockedLog to register your instance.';
145+
$message = 'The professional ID received ('.$tmparray['company_idprof1'].') is not the same than the one registered ('.$captureserver->registerprofid.') for registration number '.$hash_unique_id.' or was never registered. Go to the setup page of module BlockedLog to register your instance.';
146+
dol_syslog($message, LOG_DEBUG, 0, '_captureserver');
147+
print "\n".$message;
147148
http_response_code(500);
148149

149150
$db->close();

0 commit comments

Comments
 (0)