add: now all references logging system

This commit is contained in:
realaltffour 2020-07-28 22:45:33 +03:00
parent 00d7e03e27
commit 80413bfc81
No known key found for this signature in database
GPG Key ID: C1265D839D44DCB1

View File

@ -20,6 +20,6 @@ pub fn create_company(state: &mut GlobalState, company: Company) -> Result<(), S
state.companies.insert(company.symbol.to_string(), company);
Ok(())
},
Err(error) => Err(format!("Failed to create company with error: {}", error))
Err(error) => Err(format!("CMD_COMPANY_CREATE_FAILED: {}", error))
}
}