Skip to content

Commit

Permalink
better error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Feb 1, 2024
1 parent 63ab1e2 commit 4d0174a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expandFns.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function doi_works(string $doi) : ?bool {
HandleCache::$cache_good[$doi] = TRUE;
return TRUE;
}
bot_debug_log('Got NULL for DOI: ' . echoable($doi));
bot_debug_log('Got NULL for DOI: ' . str_ireplace(['&lt;', '&gt;'], ['<', '>'],echoable($doi)));
HandleCache::$cache_hdl_null[$doi] = TRUE;
return NULL;
}
Expand Down Expand Up @@ -1413,7 +1413,7 @@ function hdl_works(string $hdl) : string|null|false {
return FALSE;
}
HandleCache::$cache_hdl_null[$hdl] = TRUE;
bot_debug_log('Got NULL for HDL: ' . echoable($hdl));
bot_debug_log('Got NULL for HDL: ' .str_ireplace(['&lt;', '&gt;'], ['<', '>'],echoable($hdl)));
return NULL;
}
if ($works === FALSE) {
Expand Down

0 comments on commit 4d0174a

Please sign in to comment.