We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c274417 commit 051e469Copy full SHA for 051e469
src/exception.rs
@@ -81,7 +81,7 @@ impl From<&str> for PhpException {
81
#[cfg(feature = "anyhow")]
82
impl From<anyhow::Error> for PhpException {
83
fn from(err: anyhow::Error) -> Self {
84
- Self::new(err.to_string(), 0, crate::zend::ce::exception())
+ Self::new(format!("{:#}", err), 0, crate::zend::ce::exception())
85
}
86
87
0 commit comments