You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-06-20 09:19:27 +02:00
Fastfix
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"MAIN ---"
|
||||
linux-vdso.so.1 (0x00007ffc9fb72000)
|
||||
libm.so.6 => /lib64/libm.so.6 (0x00007f4f57c7f000)
|
||||
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4f57a5f000)
|
||||
libc.so.6 => /lib64/libc.so.6 (0x00007f4f57688000)
|
||||
libdl.so.2 => /lib64/libdl.so.2 (0x00007f4f57484000)
|
||||
/lib64/ld-linux-x86-64.so.2 (0x00007f4f58001000)
|
||||
linux-vdso.so.1 (0x00007ffd88b21000)
|
||||
libm.so.6 => /lib64/libm.so.6 (0x00007f7738893000)
|
||||
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7738673000)
|
||||
libc.so.6 => /lib64/libc.so.6 (0x00007f773829c000)
|
||||
libdl.so.2 => /lib64/libdl.so.2 (0x00007f7738098000)
|
||||
/lib64/ld-linux-x86-64.so.2 (0x00007f7738c15000)
|
||||
GLIBC_2.2.5
|
||||
GLIBC_2.3
|
||||
GLIBC_2.3.4
|
||||
|
||||
@@ -94,10 +94,25 @@ impl AddIn {
|
||||
self.connection = Some(conn);
|
||||
r#"{"result": true}"#.to_string()
|
||||
}
|
||||
Err(e) => json!({
|
||||
Err(e) => {
|
||||
|
||||
let detailed_error = match e {
|
||||
rusqlite::Error::SqliteFailure(err, msg) => {
|
||||
format!(
|
||||
"SQLite error: code={:?}, message='{}', details={:?}",
|
||||
err.code,
|
||||
err.extended_code,
|
||||
msg
|
||||
)
|
||||
}
|
||||
_ => e.to_string(),
|
||||
};
|
||||
|
||||
json!({
|
||||
"result": false,
|
||||
"error": e.to_string()
|
||||
}).to_string()
|
||||
"error": detailed_error
|
||||
}).to_string()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user