Skip to content

Commit

Permalink
[logging] Replace sprunge.us by dpaste.com
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Jun 6, 2024
1 parent c8d424a commit aa255f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if [ "${PIPESTATUS[0]}" -eq 0 ]; then
echo -e "\n➤ Open Voice OS has been successfully uninstalled."
fi
else
debug_url="$(curl -sF 'sprunge=<-' http://sprunge.us <"$LOG_FILE")"
debug_url="$(curl -sF 'content=<-' https://dpaste.com/api/v2/ <"$LOG_FILE")"
echo -e "\n➤ Unable to finalize the process, please check $LOG_FILE for more details."
echo -e "➤ Please share this URL with us $debug_url"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fail_format="\e[31mfail\e[0m"
# This is mainly used in setup.sh to handle errors during the functions
# execution.
function on_error() {
debug_url="$(curl -sF 'sprunge=<-' http://sprunge.us <"$LOG_FILE")"
debug_url="$(curl -sF 'content=<-' https://dpaste.com/api/v2/ <"$LOG_FILE")"
echo -e "[$fail_format]"
echo -e "\nUnable to continue the process, please check $LOG_FILE for more details."
echo -e "Please share this URL with us $debug_url"
Expand Down

0 comments on commit aa255f6

Please sign in to comment.