mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
Better logging (#16164)
* Initial * Cleared duplicates * More work, get rid of log_error * more * log_debug() to macro LOG_DEBUG * More work * More * Guh * Maybe better? * More work * gah * Dear lord * *inserts swears here* * gdi * More work * More * dear lord * fsdfsdafs * rsdaf * sadfasf * sdafsad * fgsd * small fuckup fix * jfsd * sdafasf * gdi * sdfa * sfdafgds * sdafasdvf * sdfasdfg * sdfsga * asdf * dsfasfsagf * ihibhbjh * fsadf * adfas * sdafsad * sdfasd * fsda * vhb * asf * for arrow * removed source file-line logging, added header for tgui
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
|
||||
var/datum/shuttle/autodock/ferry/supply/shuttle = SScargo.shuttle
|
||||
if (!shuttle)
|
||||
log_debug("## ERROR: Eek. The supply/shuttle datum is missing somehow.")
|
||||
LOG_DEBUG("## ERROR: Eek. The supply/shuttle datum is missing somehow.")
|
||||
return
|
||||
|
||||
switch(action)
|
||||
|
||||
@@ -113,11 +113,11 @@
|
||||
status_message = co.add_item(coi)
|
||||
else
|
||||
status_message = "Unable to add item [text2num(params["add_item"])] - Internal Error 601."
|
||||
log_debug("Cargo Order: Warning - Attempted to order item [coi.ci.name] with invalid purchase price")
|
||||
LOG_DEBUG("Cargo Order: Warning - Attempted to order item [coi.ci.name] with invalid purchase price")
|
||||
qdel(coi)
|
||||
else
|
||||
status_message = "Unable to locate item in sales database - Internal Error 602."
|
||||
log_debug("Cargo Order: Warning - Attempted to order item with non-existant id: [params["add_item"]]")
|
||||
LOG_DEBUG("Cargo Order: Warning - Attempted to order item with non-existant id: [params["add_item"]]")
|
||||
qdel(coi)
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user