TOSQUASH 313ad93: yeah dun use `._message` as tb-str..
							parent
							
								
									28d6f77e22
								
							
						
					
					
						commit
						06b5e19cc4
					
				|  | @ -639,26 +639,29 @@ class RemoteActorError(Exception): | ||||||
|             self.extra_body_fields, |             self.extra_body_fields, | ||||||
|         ) |         ) | ||||||
| 
 | 
 | ||||||
|         # ?TODO, ensure the `.message` doesn't show up 2x in |  | ||||||
|         # output ya? |  | ||||||
|         tb_str: str = ( |         tb_str: str = ( | ||||||
|             self.tb_str |             self.tb_str | ||||||
|             or |             # | ||||||
|             self._message |             # ^TODO? what to use instead? if anything? | ||||||
|         ) |             # -[ ] ensure the `.message` doesn't show up 2x in output ya? | ||||||
|         from tractor.devx import ( |             # -[ ] ._message isn't really right? | ||||||
|             pformat_boxed_tb, |             # or | ||||||
|         ) |             # self._message | ||||||
|         body: str = pformat_boxed_tb( |  | ||||||
|             tb_str=tb_str, |  | ||||||
|             fields_str=fields, |  | ||||||
|             field_prefix=' |_', |  | ||||||
|             # ^- is so that it's placed like so, |  | ||||||
|             # just after <Type( |  | ||||||
|             #             |___ .. |  | ||||||
|             tb_body_indent=1, |  | ||||||
|             boxer_header=self.relay_uid or '-', |  | ||||||
|         ) |         ) | ||||||
|  |         if tb_str: | ||||||
|  |             from tractor.devx import ( | ||||||
|  |                 pformat_boxed_tb, | ||||||
|  |             ) | ||||||
|  |             body: str = pformat_boxed_tb( | ||||||
|  |                 tb_str=tb_str, | ||||||
|  |                 fields_str=fields, | ||||||
|  |                 field_prefix=' |_', | ||||||
|  |                 # ^- is so that it's placed like so, | ||||||
|  |                 # just after <Type( | ||||||
|  |                 #             |___ .. | ||||||
|  |                 tb_body_indent=1, | ||||||
|  |                 boxer_header=self.relay_uid or '-', | ||||||
|  |             ) | ||||||
| 
 | 
 | ||||||
|         # !TODO, it'd be nice to import these top level without |         # !TODO, it'd be nice to import these top level without | ||||||
|         # cycles! |         # cycles! | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue