cln-plugin: Re-export anyhow::anyhow macro

For now this makes reporting an error from plugins much simpler for
now.

Changelog-None
This commit is contained in:
Christian Decker 2022-12-23 14:12:35 +01:00
parent 6c1e589ee8
commit 77ad5525f5

View File

@ -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;