Malshare / MalShare

http://www.malshare.com
22 stars 4 forks source link

Detailed errors. #13

Closed silascutler closed 6 years ago

silascutler commented 6 years ago

Errors were originally identified by an integer value in early days for testing purposes. However, for users, this is less useful. Errors should be better described. Ex: ERROR! => No: 11233487. Please report to admin@malshare.com

silascutler commented 6 years ago

Cleaned up significantly. All errors (except those related to user limit changes have error codes that match this format: Error 13843 (System error while searching. Please contact admin@malshare.com) and for JSON related queries:


{
   "ERROR" : {
      "CODE" : 138023,
      "MESSAGE" : "Problem pulling sources for the past day.  Please report to admin@malshare.com"
   }
}
``