switch to color_eyre instead of anyhow

This commit is contained in:
Nova
2022-12-02 13:58:54 -05:00
parent 03ccf9127d
commit d7a607a663
29 changed files with 114 additions and 118 deletions

View File

@@ -11,8 +11,8 @@ use crate::objects::input::sk_controller::SkController;
use crate::objects::input::sk_hand::SkHand;
use self::core::eventloop::EventLoop;
use anyhow::Result;
use clap::Parser;
use color_eyre::eyre::Result;
use directories::ProjectDirs;
use std::sync::Arc;
use stereokit::input::Handed;
@@ -151,7 +151,7 @@ fn main() -> Result<()> {
async fn event_loop(
handle_sender: oneshot::Sender<Handle>,
stop_rx: oneshot::Receiver<()>,
) -> anyhow::Result<()> {
) -> color_eyre::eyre::Result<()> {
let _ = handle_sender.send(Handle::current());
// console_subscriber::init();