diff --git a/Cargo.lock b/Cargo.lock
index b7e6f585782cb2a28d22fca5186e9b68d767dfd9..f3d692573b48ef2107d131bef14bc3a0d71baeda 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -366,18 +366,18 @@ checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
 
 [[package]]
 name = "thiserror"
-version = "1.0.69"
+version = "2.0.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
+checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
 dependencies = [
  "thiserror-impl",
 ]
 
 [[package]]
 name = "thiserror-impl"
-version = "1.0.69"
+version = "2.0.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
+checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
 dependencies = [
  "proc-macro2",
  "quote",
diff --git a/Cargo.toml b/Cargo.toml
index 2096c2928d9b222fcd636b3721074590088ab13c..80ebe67a858aac86265e6b858d050d3c37dfd404 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2018"
 serde = "1.0"
 log = "0.4"
 toml = "0.5"
-thiserror = "1.0"
+thiserror = "2.0"
 clap = "3.1"
 pretty_env_logger = "0.5"
 figment = { version = "0.10", features = ["toml", "env"] }