         ##
         ##
         _handleError: (req, res, err)->
-            
-            @_send req, res, err.message+'\n', (err.status||500), 'text/plain'
-            
+            if !res.err
+                if err.status is 302
+                    return req.redirect err.message
+                        
+                res.ctype = 'text/plain'
+                res.code = err.status
+            
+                @_send req, res, err.message+'\n'
+            
+                res.err = err
+            else
+                @logger.error err 


                    type: 'stores.Context'
                    
                    data: config?.data?.users || {}
                    
                ]
                
                
            ,config
        
        
        boot: (done)->


                    type: 'http.Cache'
                    
                    data: floyd.tools.objects.extend 
                        permissions: false
                    , config?.data?.cache
                    
                ,			
                        
