Skip to content

Commit

Permalink
Error 42501 - Insufficient privilege
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Nov 8, 2024
1 parent a76de0d commit 721e92b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/genesis/handlers/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ pub async fn token(
{
// will terminate the program with exit code 1 and helps to get a new vault
// token, usful when modifying the DB schema
error!("DB Error 42501: {}", db_err.message());
error!(
"DB Error 42501 - Insufficient privilege: {}",
db_err.message()
);
process::exit(1); // Terminate the program with exit code 1
}
_ => {
Expand Down

0 comments on commit 721e92b

Please sign in to comment.