|
@@ -56,7 +56,7 @@ pub fn command(options: Options) -> Result<()> {
|
|
with_config(|root_conf, config, metadata| {
|
|
with_config(|root_conf, config, metadata| {
|
|
ensure_init(config.project_dir(), MobileTarget::Android)
|
|
ensure_init(config.project_dir(), MobileTarget::Android)
|
|
.map_err(|e| Error::ProjectNotInitialized(e.to_string()))?;
|
|
.map_err(|e| Error::ProjectNotInitialized(e.to_string()))?;
|
|
- run_dev(options, root_conf, config, metadata).map_err(|e| Error::DevFailed(e.to_string()))
|
|
|
|
|
|
+ run_dev(options, root_conf, config, metadata).map_err(|e| Error::DevFailed(format!("{:#}", e)))
|
|
})
|
|
})
|
|
.map_err(Into::into)
|
|
.map_err(Into::into)
|
|
}
|
|
}
|