diff --git a/lib/commands/submit.js b/lib/commands/submit.js
index <HASH>..<HASH> 100644
--- a/lib/commands/submit.js
+++ b/lib/commands/submit.js
@@ -57,7 +57,8 @@ cmd.handler = function(argv) {
       // show beat ratio
       if (ok) {
         core.getSubmission({id: result.id}, function(e, submission) {
-          if (!submission.distributionChart) return;
+          if (e || !submission || !submission.distributionChart)
+            return log.warn('Failed to get submission beat ratio.');
 
           var lang = submission.distributionChart.lang;
           var scores = submission.distributionChart.distribution;
fixes #<I>: don't panic if failed t get submission.