Format Event Log Messages

In classes/pref/system.php, I added a style attribute which makes the message text much easier to read.

Change:

print "<td class='errstr'>" . $line["errstr"] . "<hr/>" . nl2br($line["context"]) . "</td>";

To:

print "<td class='errstr' style=white-space:pre-wrap>" . $line["errstr"] . "<hr/>" . nl2br($line["context"]) . "</td>";

The end result is:

Uncaught PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /home/public/tt-rss/classes/rssutils.php:781 Stack trace: #0 /home/public/tt-rss/classes/rssutils.php(781): PDOStatement->execute(Array) #1 /home/public/tt-rss/classes/rpc.php(482): RSSUtils::update_rss_feed(‘435’, true) #2 /home/public/tt-rss/classes/rpc.php(503): RPC::updaterandomfeed_real() #3 /home/public/tt-rss/backend.php(113): RPC->updaterandomfeed() #4 {main} thrown

becomes:

Uncaught PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /home/public/tt-rss/classes/rssutils.php:781
Stack trace:
#0 /home/public/tt-rss/classes/rssutils.php(781): PDOStatement->execute(Array)
#1 /home/public/tt-rss/classes/rpc.php(482): RSSUtils::update_rss_feed(‘435’, true)
#2 /home/public/tt-rss/classes/rpc.php(503): RPC::updaterandomfeed_real()
#3 /home/public/tt-rss/backend.php(113): RPC->updaterandomfeed()
#4 {main}
thrown

It may be better to change the ‘errstr’ class in the theme css? I welcome help with that.