Skip to content

Commit

Permalink
Add more context to metal capture error
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdelajonquieresonos committed Jul 30, 2024
1 parent f661627 commit fc77792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metal/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ impl MetalContext {
descriptor.set_capture_device(self.device());
descriptor.set_output_url(path);

capture.start_capture(&descriptor).map_err(|e| anyhow!("{:?}", e))?;
capture.start_capture(&descriptor).map_err(|e| anyhow!("Error Metal Capture: {:?}", e))?;

(compute)(self)?;

Expand Down

0 comments on commit fc77792

Please sign in to comment.