]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: Added note about bb.fatal() raising an exception.
authorScott Rifenbark <srifenbark@gmail.com>
Tue, 4 Oct 2016 16:20:21 +0000 (09:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Oct 2016 07:51:22 +0000 (08:51 +0100)
Fixes [YOCTO #10363]

Added a small note to the bullet item about bb.fatal().  Noted
that the function raises an exception so the user does not
have to put a "return" statement after the function call.

(From yocto-docs rev: c27bae87192b7e109d995679c8c91fb3388d8d4c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/ref-manual/usingpoky.xml

index 36525c47b0afc1fb3f329195c69c57fb1604968e..f7345547c5c63cf65cb546c9116c89a4cebd4c64 100644 (file)
                     This logging function is similar to
                     <filename>bb.error(</filename><replaceable>msg</replaceable><filename>)</filename>
                     but also causes the calling task to fail.
+                    <note>
+                        <filename>bb.fatal()</filename> raises an exception,
+                        which means you do not need to put a "return"
+                        statement after the function.
+                    </note>
                     </para></listitem>
             </itemizedlist>
         </para>