Skip to content

Commit

Permalink
fix: a vague error message and updated copyright year (#240)
Browse files Browse the repository at this point in the history
* Propose a tip for vague error message with xclip missing

* misc: update copyright year to 2023

---------

Co-authored-by: LhAlant <>
  • Loading branch information
LhAlant authored Nov 22, 2023
1 parent e195b5e commit 1a9077a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2022 Aloxaf
Copyright (c) 2019-2023 Aloxaf

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/bin/silicon/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn dump_image_to_clipboard(image: &DynamicImage) -> Result<(), Error> {
temp.path().to_str().unwrap(),
])
.status()
.map_err(|e| format_err!("Failed to copy image to clipboard: {}", e))?;
.map_err(|e| format_err!("Failed to copy image to clipboard : {} (Tip: do you have xclip installed ?)", e))?;
Ok(())
}

Expand Down

0 comments on commit 1a9077a

Please sign in to comment.