         salvus_client.get_support_tickets (err, tickets) =>
             # console.log("tickets: #{misc.to_json(tickets)}")
             # sort by .updated_at
-            tickets = tickets.sort(cmp_tickets)
-            @setState
-                support_ticket_error : err
-                support_tickets      : tickets
+            if err?
+                @setState
+                    support_ticket_error : err
+                    support_tickets      : []
+            else
+                tickets = tickets.sort(cmp_tickets)
+                @setState
+                    support_ticket_error : err
+                    support_tickets      : tickets
 
     reset: =>
         @init_email_address()

        @set
            state  : if err? then STATE.ERROR else STATE.CREATED
            err    : err ? ''



exports.SupportPage = rclass

            </div>
            <hr/>
            <div style={minHeight:"65vh"}>
                {content}
            </div>
            <Footer/>
        </div>
