Explorar o código

加错误提示输出

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
b0fac7e23d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Api/MdRender.php

+ 1 - 1
app/Http/Api/MdRender.php

@@ -99,7 +99,7 @@ class MdRender{
             $dom = simplexml_load_string($xml);
         }catch(\Exception $e){
             Log::error($e);
-            return "<span></span>";
+            return "<span>xml解析错误</span>";
         }