Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13961158
D9311.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9311.id.diff
View Options
diff --git a/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php b/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php
--- a/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php
+++ b/src/aphront/console/plugin/DarkConsoleErrorLogPlugin.php
@@ -99,58 +99,3 @@
));
}
}
-
-/*
- $data = $this->getData();
- if (!$data) {
- return
- <x:frag>
- <div class="mu">No errors.</div>
- </x:frag>;
- }
-
- $markup = <table class="LConsoleErrors" />;
- $alt = false;
- foreach ($data as $error) {
- $row = <tr class={$alt ? 'alt' : null} />;
-
- $text = $error['error'];
- $text = preg_replace('/\(in .* on line \d+\)$/', '', trim($text));
-
- $trace = $error['trace'];
- $trace = explode("\n", $trace);
- if (!$trace) {
- $trace = array('unknown@0@unknown');
- }
-
- foreach ($trace as $idx => $traceline) {
- list($file, $line, $where) = array_merge(
- explode('@', $traceline),
- array('?', '?', '?'));
- if ($where == 'DarkConsole->addError' ||
- $where == 'debug_rlog') {
- unset($trace[$idx]);
- }
- }
-
- $row->appendChild(<th rowspan={count($trace)}>{$text}</th>);
-
- foreach ($trace as $traceline) {
- list($file, $line, $where) = array_merge(
- explode('@', $traceline),
- array('?', '?', '?'));
- $row->appendChild(<td>{$file}:{$line}</td>);
- $row->appendChild(<td>{$where}()</td>);
- $markup->appendChild($row);
- $row = <tr class={$alt ? 'alt' : null} />;
- }
-
- $alt = !$alt;
- }
-
- return
- <x:frag>
- <h1>Errors</h1>
- <div class="LConsoleErrors">{$markup}</div>
- </x:frag>;
-*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 16 2024, 3:30 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6708355
Default Alt Text
D9311.id.diff (1 KB)
Attached To
Mode
D9311: Delete some junko garbage
Attached
Detach File
Event Timeline
Log In to Comment