panic on errors in hot-reload if no error handler socket is connected
This commit is contained in:
1 parent
5c767ececd
commit
f0655a11ad
6 files changed
+84
-52
No files matched your search
@@ -113,9 +113,9 @@ impl ToTokens for CapturedContextBuilder {
|
||||
let expr = segment.to_token_stream();
|
||||
let as_string = expr.to_string();
|
||||
let format_expr = if format_args.is_empty() {
|
||||
"{".to_string() + format_args + "}"
|
||||
"{".to_string() + &format_args + "}"
|
||||
} else {
|
||||
"{".to_string() + ":" + format_args + "}"
|
||||
"{".to_string() + ":" + &format_args + "}"
|
||||
};
|
||||
Some(quote! {
|
||||
FormattedArg{
|
||||
|
||||
Reference in new issue
Block a user