mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-08 13:04:06 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
00b15e01b6 | |||
731232804b |
1
.github/workflows/build-push.yml
vendored
1
.github/workflows/build-push.yml
vendored
@ -86,5 +86,4 @@ jobs:
|
||||
--name ${artifact} \
|
||||
--file ${artifact}
|
||||
done
|
||||
./bin/linux/amd64/github-release upload -u house-of-vanity -r furumi --tag ${{ steps.get_version.outputs.FULL_TAG }} --name arch_linux_furumi-${{ steps.get_version.outputs.VERSION }}-x86_64.pkg.tar.zst --file ./furumi-x86_64.pkg.tar.zst
|
||||
|
||||
|
@ -18,7 +18,13 @@ use mystem::MyStem;
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), errors::Error> {
|
||||
env_logger::from_env(Env::default().default_filter_or("info")).init();
|
||||
let mut mystem = MyStem::new()?;
|
||||
let mut mystem = match MyStem::new() {
|
||||
Ok(mystem) => mystem,
|
||||
Err(e) => {
|
||||
error!("MyStem init error. {:?}", e);
|
||||
process::exit(0x0002);
|
||||
}
|
||||
};
|
||||
match db::update_scheme() {
|
||||
Ok(_) => {}
|
||||
Err(e) => panic!("Database error: {:?}", e),
|
||||
|
Reference in New Issue
Block a user