aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/base_io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/io/base_io.rs')
-rw-r--r--crates/shirabe/src/io/base_io.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/shirabe/src/io/base_io.rs b/crates/shirabe/src/io/base_io.rs
index 99c3d70..79fd7b7 100644
--- a/crates/shirabe/src/io/base_io.rs
+++ b/crates/shirabe/src/io/base_io.rs
@@ -451,7 +451,8 @@ pub trait BaseIO: IOInterface {
Ok(json_encode_ex(
&PhpMixed::Array(log_context(context)),
JSON_INVALID_UTF8_IGNORE | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE,
- ))
+ )
+ .ok())
});
if let Ok(Some(json_str)) = json {
message_str += " ";