Skip to content
Snippets Groups Projects
Commit 2c9e7440 authored by Stefan Kloepping's avatar Stefan Kloepping
Browse files

save report locally if sending to server failed

parent 41e6b9ad
No related branches found
No related tags found
1 merge request!1Master
...@@ -56,7 +56,9 @@ else ...@@ -56,7 +56,9 @@ else
echo "Report number: " echo "Report number: "
echo $code echo $code
else else
echo "Failed to send report :(" echo "Failed to send report :( but storing the file and sending it later \o/"
mkdir -p /var/cache/ff/debug
gzip -c "$tf" > /var/cache/ff/debug/stored.ff-debug.gz
fi fi
#TODO: rm "$tf" #TODO: rm "$tf"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment