Skip to content

Commit

Permalink
cln-plugin: Re-export anyhow::anyhow macro
Browse files Browse the repository at this point in the history
For now this makes reporting an error from plugins much simpler for
now.

Changelog-None
  • Loading branch information
cdecker committed Dec 24, 2022
1 parent 6c1e589 commit 77ad552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::codec::{JsonCodec, JsonRpcCodec};
use anyhow::{anyhow, Context};
pub use anyhow::anyhow;
use anyhow::Context;
use futures::sink::SinkExt;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
extern crate log;
Expand Down

0 comments on commit 77ad552

Please sign in to comment.