aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-06 12:55:49 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-13 14:25:19 +0100
commitd4dd2e2640af9290717b669c923d1ca75dba1bde (patch)
tree3059e62b93939242b78714624405b0a4500f5b50 /src/api
parent9eb211948ec54430170e981201fe33b3997e2da5 (diff)
downloadgarage-d4dd2e2640af9290717b669c923d1ca75dba1bde.tar.gz
garage-d4dd2e2640af9290717b669c923d1ca75dba1bde.zip
Make use of website config, return error document on error
Diffstat (limited to 'src/api')
-rw-r--r--src/api/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/lib.rs b/src/api/lib.rs
index 589ffe9f..725cd9d1 100644
--- a/src/api/lib.rs
+++ b/src/api/lib.rs
@@ -2,7 +2,7 @@
#[macro_use]
extern crate log;
-mod error;
+pub mod error;
pub use error::Error;
mod encoding;