Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

will be different between FE and BE.  I will cause exception or core. 


8. Print status not error code

Image Added


If error status is returned when call some method failed. Do not only print error code or error message, you could just print status object.  because status will print callstack, we could know 

which line failed.  For example, in compaction, we print the result status, like this code:

Image Added


then we could get error stack, like this:

Image Added