mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
✨ Add URI to the report.txt (#7709)
This commit is contained in:
parent
d796dbb572
commit
e3cf70d3a8
@ -11,6 +11,7 @@
|
|||||||
[app.common.data :as d]
|
[app.common.data :as d]
|
||||||
[app.common.pprint :as pp]
|
[app.common.pprint :as pp]
|
||||||
[app.common.uri :as u]
|
[app.common.uri :as u]
|
||||||
|
[app.config :as cf]
|
||||||
[app.main.data.auth :refer [is-authenticated?]]
|
[app.main.data.auth :refer [is-authenticated?]]
|
||||||
[app.main.data.common :as dcm]
|
[app.main.data.common :as dcm]
|
||||||
[app.main.data.event :as ev]
|
[app.main.data.event :as ev]
|
||||||
@ -311,9 +312,10 @@
|
|||||||
trace (:app.main.errors/trace data)
|
trace (:app.main.errors/trace data)
|
||||||
instance (:app.main.errors/instance data)]
|
instance (:app.main.errors/instance data)]
|
||||||
(with-out-str
|
(with-out-str
|
||||||
(println "Hint: " (or (:hint data) (ex-message instance) "--"))
|
(println "Hint: " (or (:hint data) (ex-message instance) "--"))
|
||||||
(println "Prof ID:" (str (or profile-id "--")))
|
(println "Prof ID: " (str (or profile-id "--")))
|
||||||
(println "Team ID:" (str (or team-id "--")))
|
(println "Team ID: " (str (or team-id "--")))
|
||||||
|
(println "URI: " cf/public-uri)
|
||||||
|
|
||||||
(when-let [file-id (:file-id data)]
|
(when-let [file-id (:file-id data)]
|
||||||
(println "File ID:" (str file-id)))
|
(println "File ID:" (str file-id)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user