code:
                  
                  
                   console.log(err);
                  
                  
                   res.send({code: 500, message: err});
                  
                  
                  
                  
                  
                  Where err is a thrown error, why does the log show it but the message variable not?
                  
                  
                
I don't think error is throwing... It just send server internal error code to client with the err
Обсуждают сегодня