|
@@ -15,7 +15,7 @@ pub fn run(args: Vec<String>, bin_name: Option<String>, callback: JsFunction) ->
|
|
|
std::thread::spawn(move || match tauri_cli::run(args, bin_name) {
|
|
|
Ok(_) => function.call(Ok(true), ThreadsafeFunctionCallMode::Blocking),
|
|
|
Err(e) => function.call(
|
|
|
- Err(Error::new(Status::GenericFailure, e.to_string())),
|
|
|
+ Err(Error::new(Status::GenericFailure, format!("{:#}", e))),
|
|
|
ThreadsafeFunctionCallMode::Blocking,
|
|
|
),
|
|
|
});
|