Skip to content

Commit 59587b2

Browse files
committed
fix: change log level
1 parent 023763e commit 59587b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spring_last_err.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::{
88
os::raw::{c_char, c_int},
99
};
1010

11-
use log::{error, warn};
11+
use log::{info, warn};
1212
use springql_core::error::SpringError;
1313

1414
use crate::{cstr::strcpy, spring_errno::SpringErrno};
@@ -55,7 +55,7 @@ impl Display for LastError {
5555

5656
/// Update the most recent error, clearing whatever may have been there before.
5757
pub(super) fn update_last_error(err: LastError) {
58-
error!("Setting LAST_ERROR: {}", err);
58+
info!("Setting LAST_ERROR: {}", err);
5959

6060
{
6161
// Print a pseudo-backtrace for this error, following back each error's

0 commit comments

Comments
 (0)