Skip to content

Commit

Permalink
Rest API should return more precise error in case there is internal e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
remdex committed Feb 8, 2019
1 parent b073070 commit a01335a
Show file tree
Hide file tree
Showing 3 changed files with 512 additions and 488 deletions.
2 changes: 1 addition & 1 deletion lhc_web/lib/core/lhchat/lhchatarchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static function fetchChatById($chatId) {

if ($archive instanceof erLhcoreClassModelChatArchiveRange) {
$archive->setTables();
$chat = erLhcoreClassModelChatArchive::fetch($chatId);
$chat = erLhcoreClassModelChatArchive::fetch($chatId,true,true);
return array('archive' => $archive, 'chat' => $chat);
}
}
Expand Down
Loading

0 comments on commit a01335a

Please sign in to comment.