Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

error message cleanup

  • Loading branch information...
commit 8549e217d22f52e0f741a60b8e07f82806ac32aa 1 parent f085564
@itsderek23 itsderek23 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mysql_query_statistics/mysql_query_statistics.rb
View
2  mysql_query_statistics/mysql_query_statistics.rb
@@ -50,7 +50,7 @@ def build_report
counter(:total, total, :per => :second)
rescue Exception => e
if e.message =~ /command not found|No such/
- error("MySQL Command not found","mysql may not be in Cron's PATH as the mysql command was not found at #{@mysql_command}. Try using the full path to mysql: #{`which mysql`}.\n\nError Message: #{e.message}")
+ error("MySQL Command not found","The mysql executable may not be in Cron's PATH as the mysql command was not found via \"#{@mysql_command}\". Try using the full path to mysql.\n\nError Message: #{e.message}")
else
raise
end
Please sign in to comment.
Something went wrong with that request. Please try again.