summaryrefslogtreecommitdiff
path: root/issues/genenetwork
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-03-14 11:51:37 +0300
committerFrederick Muriuki Muriithi2022-03-14 11:55:58 +0300
commite8e876fd49c8a52944baec0b9313659917ac9a97 (patch)
tree369e9578f27a2cd0bc5cff31fc3a3c8ade017f5a /issues/genenetwork
parent728aa9829f724778f855c73b1a58dc008e65ffec (diff)
downloadgn-gemtext-e8e876fd49c8a52944baec0b9313659917ac9a97.tar.gz
Remove unnecessary newlines
Text in gemtext is written in "long lines" - breaking up lines in the gemtext file also breaks them up in the final output.
Diffstat (limited to 'issues/genenetwork')
-rw-r--r--issues/genenetwork/issue-404-in-logs.gmi17
1 files changed, 4 insertions, 13 deletions
diff --git a/issues/genenetwork/issue-404-in-logs.gmi b/issues/genenetwork/issue-404-in-logs.gmi
index 70ce499..0006896 100644
--- a/issues/genenetwork/issue-404-in-logs.gmi
+++ b/issues/genenetwork/issue-404-in-logs.gmi
@@ -21,17 +21,9 @@ example:
=>
https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics/commit/e80fe4ddcf15e21004b8135cf8af34b458697f64
-Removing the 404's would prevent us from catching important errors if
-ever they occur. I suggest we fix the 404's; some of them have a
-cascading effect, like the font-awesome missing "webfonts" folder I
-just fixed that leads to a lot of unnecessary 404s.
-
-For error handling, I think that will evolve with the code-base with
-time as it gets leaner. One way the aforementioned flask page
-recommends handling errors is by creating custom errors for your
-particular subject-domain needs and probably send a 5xx message that's
-more helpful. At the moment we are using one error-handler for
-everything(notice the generic "Exception")! See:
+Removing the 404's would prevent us from catching important errors if ever they occur. I suggest we fix the 404's; some of them have a cascading effect, like the font-awesome missing "webfonts" folder I just fixed that leads to a lot of unnecessary 404s.
+
+For error handling, I think that will evolve with the code-base with time as it gets leaner. One way the aforementioned flask page recommends handling errors is by creating custom errors for your particular subject-domain needs and probably send a 5xx message that's more helpful. At the moment we are using one error-handler for everything(notice the generic "Exception")! See:
```
@app.errorhandler(Exception)
@@ -70,5 +62,4 @@ I'll look a way for removing this:
logger.error(traceback.format_exc())
```
-with a more sane, but probably still useful,
-log. That's where I problem IIUC lies.
+with a more sane, but probably still useful, log. That's where I problem IIUC lies.